package com.zyit.service;

import com.zyit.model.Schedule;
import com.zyit.model.SysUsers;
import com.zyit.model.vo.RegisteredInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScheduleService {

    /**
     * 3、根据就诊科室和时间段查询就诊医师列表
     */
    List<Schedule> findByDepartmentAndTime(Schedule schedule);

    /**
     *
     * @param userid
     * @param sign
     * @return
     */
    Schedule findByUserIdAndSign( Long userid, Integer sign);


    /***
     * 更具挂号单生成后  医生剩余就诊发生改变
     * @param id
     * @return
     */
    int updateNum(Long id);

    /***
     * 挂号信息列表接口
     * @return
     */
    List<RegisteredInformation> findAll(RegisteredInformation ri);
}
